package com.zm.admin.zmeng.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zm.admin.zmeng.domain.ZmDictInfo;
import com.zm.admin.zmeng.dto.DictInfoDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ZmDictInfoMapper extends BaseMapper<ZmDictInfo> {

    /**
     * 删除/修改字典后，将字典中所包含的详情记录状态作处理
     * @param idList
     */
    void updateDictInfoStatus(@Param("idList") List<String> idList,@Param("status")String status);

    List<DictInfoDto> selectAllInfoByDictId();
}